﻿using System;
using System.Text;
using Portal.Core;
using System.Collections.ObjectModel;
using Portal.Exam.Bussiness;
using Portal.Exam.Model;

namespace Portal.Exam.Render
{
    public class ExamModulePermission:PermissionModuleTemplate
    {
        public override string ServiceId
        {
            get
            {
                return "ExamModulePermission";
            }
        }

        public override string ServiceName
        {
            get
            {
                return "Phân quyền chức năng hệ thống trắc nghiệm";
            }
        }

        public override Collection<PermissionItemListCls> GetPermissionItemLists(string SiteId)
        {
            Collection<PermissionItemListCls>
                ColPermissionItemLists = new Collection<PermissionItemListCls> { };// new ExamPermission().GetPermissionItemLists(SiteId);

            PermissionItemListCls OPermissionItemList = new PermissionItemListCls();
            OPermissionItemList.subject = "Phân quyền truy cập";
            OPermissionItemList.id = ExamPermission.StaticId;
            OPermissionItemList.ptc = ExamPermission.StaticId;
            ColPermissionItemLists.Add(OPermissionItemList);

            return ColPermissionItemLists;
        }
    }
}
